package com.example.demo.commom;
import com.example.demo.entity.Userinfo;
import java.util.HashMap;
import java.util.UUID;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2023-10-24
 * Time:22:44
 */
public class TokenUtil {
    //存储token
    public final static HashMap<String, Userinfo> map = new HashMap<>();

    //生成唯一标识--token
    public static String uuid() {
        return UUID.randomUUID().toString();
    }

}
